Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency pyright to ^1.1.384 #2609

Merged
merged 1 commit into from
Oct 9, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 2, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pyright (source) ^1.1.382 -> ^1.1.384 age adoption passing confidence

Release Notes

Microsoft/pyright (pyright)

v1.1.384: Published 1.1.384

Compare Source

Bug Fixes:

  • Fixed bug that results in a false positive when Union and Unpack are used outside of a type expression. Normal type expression rules should not be applied in this case.
  • Fixed bug that results in a false negative under certain circumstances when using PEP 695 syntax and a TypeVarTuple multiple times in a signature.
  • Added limiter to sequence pattern matching logic to prevent a combinatoric explosion when performing tuple expansion during narrowing.
  • Fixed bug that results in incorrect type narrowing on assignment if the narrowed type is Self or another bound type variable.
  • Fixed a bug that leads to a false negative when a class-scoped variable is annotated with a value-constrained type variable and assigned a default value with one of the value constraints.
  • Fixed bug that results in a false positive when using a traditional (non-PEP 695) TypeVar in a type expression and assigning to a TypeForm.
  • Fixed recent regression that caused false positive errors with protocol matching in certain circumstances.
  • Fixed bug that leads to a false positive when a callable object uses a Callable type annotation for the self parameter in its own __call__ method.
  • Fixed a bug that results in the inability to rename a NamedTuple field.
  • Fixed a bug that results in incorrect type evaluation when the type of a dataclass field is declared with a type variable but its default value is concrete.

Enhancements:

  • Enhanced isinstance narrowing logic to retain type arguments in cases where the filter type (the second argument) is a child of the un-narrowed type and the child has a type parameter that is used multiple times in its base class (e.g. Child[T](Parent[T, T])).
  • Improved determinism of type evaluations involving unions of literal by taking into consideration literal values when sorting subtypes.
  • Updated typeshed stubs to the latest version.
  • Added support for *args: Unpack[T] when T is a type variable with an upper bound of a tuple.

Behavior Changes:

  • Removed provisional support for PEP 746 because the PEP has been modified, and there is disagreement about the best approach.
  • Changed the default python version from 3.12 to 3.13, now that 3.13 is the latest stable release.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the changelog:skip Don't include this pull request in the release change log label Oct 2, 2024
@github-actions github-actions bot added the dependencies Pull request that updates a dependency file label Oct 2, 2024
Copy link

codecov bot commented Oct 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.20%. Comparing base (05299ce) to head (ac8a79b).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2609   +/-   ##
=======================================
  Coverage   90.20%   90.20%           
=======================================
  Files         256      256           
  Lines       15691    15691           
=======================================
  Hits        14154    14154           
  Misses       1537     1537           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/pyright-1.x branch 4 times, most recently from 9230650 to 07c5b2c Compare October 9, 2024 04:01
@renovate renovate bot changed the title Update dependency pyright to ^1.1.383 Update dependency pyright to ^1.1.384 Oct 9, 2024
@ITProKyle ITProKyle enabled auto-merge (squash) October 9, 2024 14:18
@ITProKyle ITProKyle merged commit ce85cac into master Oct 9, 2024
22 checks passed
@ITProKyle ITProKyle deleted the renovate/pyright-1.x branch October 9, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:skip Don't include this pull request in the release change log dependencies Pull request that updates a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant